<?php

namespace Admin\Controller;

use Think\Verify;

class IndexController extends \Think\Controller
{
    public function identifyingCode()
    {
        $config = array(
            'fontSize' => 15,    // 验证码字体大小
            'length' => 4,     // 验证码位数
            'imageW' => 120,
            'imageH' => 30
        );
        $verify = new Verify($config);
        $verify->entry();
    }
}